package com.my.createtype.builder;

public class SouthTrainBuilder implements ITrainBuilder {
	
	private Train train;

	public SouthTrainBuilder() {
		this.train = new Train();
	}

	@Override
	public void buildHead() {
		train.setHead("south train head");
	}

	@Override
	public void buildBody() {
		train.setBody("south train body");
	}

	@Override
	public void buildTail() {
		train.setTail("south train tail");
	}

	@Override
	public Train buildTrain() {
		return train;
	}
	

}
